.TH qdqueue_empty 3 "APRIL 2011" libqthread "libqthread"
.SH NAME
.BR qdqueue_empty " \- test whether a distributed queue is empty"
.SH SYNOPSIS
.B #include <qthread/qdqueue.h>

.I int
.br
.B qdqueue_empty
.RI "(qdqueue_t *" q );
.SH DESCRIPTION
This function checks whether the given qdqueue is empty.
.SH RETURN VALUE
The return value will be 1 if the queue is empty, or 0 otherwise.
.SH SEE ALSO
.BR qlfqueue_empty (3),
.BR qdqueue_create (3),
.BR qdqueue_enqueue (3),
.BR qdqueue_dequeue (3),
.BR qdqueue_destroy (3)
